#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
UI主题和样式定义
"""

# 颜色定义
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
GRAY = (200, 200, 200)
LIGHT_GRAY = (230, 230, 230)
DARK_GRAY = (100, 100, 100)
BLUE = (0, 120, 255)
LIGHT_BLUE = (100, 180, 255)
RED = (255, 0, 0)
GREEN = (0, 200, 0)

# 字体设置
FONT_SMALL = 16
FONT_MEDIUM = 20
FONT_LARGE = 24

# 中文字体名称
# 常见中文字体，按优先级排序
CHINESE_FONTS = [
    "microsoftyahei",  # 微软雅黑
    "simhei",          # 黑体
    "simsun",          # 宋体
    "nsimsun",         # 新宋体
    "fangsong",        # 仿宋
    "kaiti"            # 楷体
]

# 界面尺寸
WINDOW_WIDTH = 800
WINDOW_HEIGHT = 600
PADDING = 20

# 组件尺寸
BUTTON_HEIGHT = 40
INPUT_HEIGHT = 40
LOG_HEIGHT = 200
PROGRESS_HEIGHT = 20